package alp.starcode.nudtportal.framework.constant;

public enum CampusStatusEnum {
    CANCEL(0, "销卡"),
    NORMAL(1, "正常"),
    REPORT_THE_LOSS(2, "挂失"),
    FREEZE(3, "冻结"),
    PREPAID_CARD(4, "预销卡"),
    LOCK_CARD(5, "锁卡");

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    String name;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    Integer status;

    CampusStatusEnum(Integer status, String name) {
        this.status = status;
        this.name = name;
    }

    public static String getNameByStatus(Integer Status) {
        CampusStatusEnum[] loginTypeEnums = values();
        CampusStatusEnum[] var6 = loginTypeEnums;
        int var5 = loginTypeEnums.length;
        for (int var4 = 0; var4 < var5; ++var4) {
            CampusStatusEnum loginTypeEnum = var6[var4];
            if (Status.equals(loginTypeEnum.status)) {
                return loginTypeEnum.name;
            }
        }
        return null;
    }
}
